projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
acf310c
)
(outline-mode): Make change-major-mode-hook buffer-local.
author
Richard M. Stallman
<rms@gnu.org>
Wed, 15 Jun 1994 23:03:28 +0000
(23:03 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Wed, 15 Jun 1994 23:03:28 +0000
(23:03 +0000)
lisp/textmodes/ooutline.el
patch
|
blob
|
history
diff --git
a/lisp/textmodes/ooutline.el
b/lisp/textmodes/ooutline.el
index 88271165366fd2bc504ade5b26d04c5bf66a1925..0c60cfe30bda54921dfa467d67f4700ee5c6aa2f 100644
(file)
--- a/
lisp/textmodes/ooutline.el
+++ b/
lisp/textmodes/ooutline.el
@@
-179,6
+179,7
@@
Turning on outline mode calls the value of `text-mode-hook' and then of
(make-local-variable 'paragraph-separate)
(setq paragraph-separate (concat paragraph-separate "\\|^\\("
outline-regexp "\\)"))
+ (make-local-variable 'change-major-mode-hook)
(add-hook 'change-major-mode-hook 'show-all)
(run-hooks 'text-mode-hook 'outline-mode-hook))